xend: Discard error messages of lsscsi
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:14:33 +0000 (10:14 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:14:33 +0000 (10:14 +0000)
commitce205e72b5fd4c0cc0070806b13ca343f7a1b9e6
tree4f8b4cadfda0a8584c1c97b4f14bff3d1478bed3
parent0b384c185ae2c82506dc1cf96518d8a996a4b9a6
xend: Discard error messages of lsscsi

In the case of a host OS without lsscsi command, the following
error message is recorded into xend-debug.log when xend is started.
The error message is recorded once certainly.  If SCSI devices are
connected to the host OS, it is recorded to the number of SCSI
devices.

  sh: lsscsi: command not found

This patch discards the error message to /dev/null.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/util/vscsi_util.py